module WinstreaksHelper
  def winstreak_count(winstreak)
    if winstreak.goal? 
      content_tag(:div,winstreak.streak_count,:class=>"winstreak-goal")
    else
      winstreak.streak_count
    end
  end
end
